	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_config_vlan_mac          ## -- Begin function bnx2x_config_vlan_mac
	.p2align	4, 0x90
_bnx2x_config_vlan_mac:                 ## @bnx2x_config_vlan_mac
	.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, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r13
	movq	_RAMROD_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_1
LBB0_2:
	leaq	8(%r13), %r12
	movq	%r13, %rdi
	callq	_bnx2x_exe_queue_empty
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_RAMROD_DRV_CLR_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	%r12, %rdi
	callq	*16(%r13)
LBB0_4:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.5:
	movq	_RAMROD_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	_RAMROD_COMP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_bnx2x_exe_queue_step
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_16
LBB0_9:
	movq	_RAMROD_COMP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movq	%r13, %rdi
	callq	_bnx2x_exe_queue_length
	movl	%eax, %r14d
	addl	$2, %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_bnx2x_exe_queue_empty
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	decl	%r14d
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	*(%rsi)
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_bnx2x_exe_queue_step
	testl	%eax, %eax
	jns	LBB0_11
LBB0_15:
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_bnx2x_vlan_mac_push_new_cmd
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %bl
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_CONT,4,2                ## @RAMROD_CONT
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ## @RAMROD_DRV_CLR_ONLY
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RAMROD_DRV_CLR_ONLY requested: clearing a pending bit.\n"

	.comm	_RAMROD_EXEC,4,2                ## @RAMROD_EXEC
	.comm	_RAMROD_COMP_WAIT,4,2           ## @RAMROD_COMP_WAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_config_vlan_mac          ; -- Begin function bnx2x_config_vlan_mac
	.p2align	2
_bnx2x_config_vlan_mac:                 ; @bnx2x_config_vlan_mac
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh0:
	adrp	x8, _RAMROD_CONT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAMROD_CONT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	mov	x24, x0
	cbz	w0, LBB0_14
LBB0_1:
	add	x22, x21, #8
	mov	x0, x21
	bl	_bnx2x_exe_queue_empty
	cmp	w0, #0
	cset	w23, eq
Lloh3:
	adrp	x8, _RAMROD_DRV_CLR_ONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAMROD_DRV_CLR_ONLY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	x8, [x21, #16]
	mov	x0, x22
	blr	x8
LBB0_3:
	cbnz	w24, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _RAMROD_EXEC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RAMROD_EXEC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _RAMROD_COMP_WAIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RAMROD_COMP_WAIT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_bnx2x_exe_queue_step
	mov	x23, x0
	tbnz	w0, #31, LBB0_16
LBB0_7:
Lloh17:
	adrp	x8, _RAMROD_COMP_WAIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RAMROD_COMP_WAIT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_16
; %bb.8:
	mov	x0, x21
	bl	_bnx2x_exe_queue_length
	add	w24, w0, #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_bnx2x_exe_queue_empty
	cbnz	w0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	cbnz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_bnx2x_exe_queue_step
	tbz	w0, #31, LBB0_9
LBB0_13:
	mov	x23, x0
	b	LBB0_16
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_vlan_mac_push_new_cmd
	mov	x23, x0
	cbnz	w0, LBB0_16
	b	LBB0_1
LBB0_15:
	mov	w23, #0
LBB0_16:
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_CONT,4,2                ; @RAMROD_CONT
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ; @RAMROD_DRV_CLR_ONLY
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RAMROD_DRV_CLR_ONLY requested: clearing a pending bit.\n"

	.comm	_RAMROD_EXEC,4,2                ; @RAMROD_EXEC
	.comm	_RAMROD_COMP_WAIT,4,2           ; @RAMROD_COMP_WAIT
.subsections_via_symbols
