	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_update_tc_mapping
_bnx2x_dcbx_update_tc_mapping:          ## @bnx2x_dcbx_update_tc_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	_BNX2X_MAX_PRIORITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%ecx, %ecx
	movq	%rdx, %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	movq	%rdx, %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rsi, %rcx
	jae	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rsi
	movl	(%rsi,%rcx,4), %esi
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdi
	cmpq	%rdx, %rdi
	jae	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	btl	%edi, %esi
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rbx), %rdx
	movq	%rcx, (%rdx,%rdi,8)
	movq	(%rax), %rdx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_10:
	movq	_BNX2X_SP_RTNL_SETUP_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_12:
	addq	$8, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MAX_PRIORITY,8,3         ## @BNX2X_MAX_PRIORITY
	.comm	_BNX2X_SP_RTNL_SETUP_TC,4,2     ## @BNX2X_SP_RTNL_SETUP_TC
	.no_dead_strip	_bnx2x_dcbx_update_tc_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_update_tc_mapping
_bnx2x_dcbx_update_tc_mapping:          ; @bnx2x_dcbx_update_tc_mapping
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x11, [x0, #16]
	cbz	x11, LBB0_9
; %bb.1:
	mov	x8, #0
Lloh0:
	adrp	x9, _BNX2X_MAX_PRIORITY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_MAX_PRIORITY@GOTPAGEOFF]
	ldr	x10, [x9]
	mov	x12, x10
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x19, #16]
	mov	x12, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, x11
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x12, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	ldr	x12, [x19, #24]
	ldr	w12, [x12, x8, lsl #2]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x11, x11, #1
	cmp	x11, x10
	b.hs	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsr	w13, w12, w11
	tbz	w13, #0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x10, [x19]
	str	x8, [x10, x11, lsl #3]
	ldr	x10, [x9]
	b	LBB0_6
LBB0_9:
Lloh2:
	adrp	x8, _BNX2X_SP_RTNL_SETUP_TC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNX2X_SP_RTNL_SETUP_TC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_test_and_set_bit
	cbz	w0, LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	add	x0, x19, #8
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_delayed_work
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MAX_PRIORITY,8,3         ; @BNX2X_MAX_PRIORITY
	.comm	_BNX2X_SP_RTNL_SETUP_TC,4,2     ; @BNX2X_SP_RTNL_SETUP_TC
	.no_dead_strip	_bnx2x_dcbx_update_tc_mapping
.subsections_via_symbols
