	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vfop_vlan_mac_prep_ramrod
_bnx2x_vfop_vlan_mac_prep_ramrod:       ## @bnx2x_vfop_vlan_mac_prep_ramrod
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_RAMROD_DRV_CLR_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_2:
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_RAMROD_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_set_bit
LBB0_6:
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.8:
	movq	_BNX2X_VLAN_MAC_DEL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ## @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_EXEC,4,2                ## @RAMROD_EXEC
	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ## @BNX2X_DONT_CONSUME_CAM_CREDIT
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ## @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ## @BNX2X_VLAN_MAC_DEL
	.no_dead_strip	_bnx2x_vfop_vlan_mac_prep_ramrod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vfop_vlan_mac_prep_ramrod
_bnx2x_vfop_vlan_mac_prep_ramrod:       ; @bnx2x_vfop_vlan_mac_prep_ramrod
	.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	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RAMROD_DRV_CLR_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAMROD_DRV_CLR_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _RAMROD_EXEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAMROD_EXEC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
LBB0_6:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
Lloh11:
	adrp	x10, _BNX2X_VLAN_MAC_DEL@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BNX2X_VLAN_MAC_DEL@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ; @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_EXEC,4,2                ; @RAMROD_EXEC
	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ; @BNX2X_DONT_CONSUME_CAM_CREDIT
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ; @BNX2X_VLAN_MAC_DEL
	.no_dead_strip	_bnx2x_vfop_vlan_mac_prep_ramrod
.subsections_via_symbols
