	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_vlan_one             ## -- Begin function bnx2x_set_vlan_one
	.p2align	4, 0x90
_bnx2x_set_vlan_one:                    ## @bnx2x_set_vlan_one
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r15
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r13, -48(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	movq	_RAMROD_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movl	%r12d, -56(%rbp)
	movq	_BNX2X_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-60(%rbp), %rsi
	callq	___set_bit
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.3:
	movq	_BNX2X_VLAN_MAC_DEL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
LBB0_5:
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	callq	_bnx2x_config_vlan_mac
	movl	%eax, %ebx
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_7
## %bb.6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DP
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	testl	%ebx, %ebx
	jns	LBB0_9
## %bb.8:
	testl	%r14d, %r14d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_CONT,4,2                ## @RAMROD_CONT
	.comm	_BNX2X_VLAN,4,2                 ## @BNX2X_VLAN
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ## @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ## @BNX2X_VLAN_MAC_DEL
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to schedule ADD operations: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s VLAN failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"Set"

L_.str.3:                               ## @.str.3
	.asciz	"Del"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_vlan_one             ; -- Begin function bnx2x_set_vlan_one
	.p2align	2
_bnx2x_set_vlan_one:                    ; @bnx2x_set_vlan_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	mov	x24, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x22]
	str	x23, [sp, #24]
	str	x8, [sp]
Lloh0:
	adrp	x8, _RAMROD_CONT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAMROD_CONT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbnz	w0, LBB0_2
; %bb.1:
	str	w21, [sp, #16]
Lloh3:
	adrp	x8, _BNX2X_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x24, #12
	bl	___set_bit
Lloh6:
	adrp	x8, _BNX2X_VLAN_MAC_DEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_DEL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #8]
LBB0_2:
	mov	x1, sp
	mov	x0, x20
	bl	_bnx2x_config_vlan_mac
	mov	x20, x0
Lloh10:
	adrp	x8, _EEXIST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_DP
	mov	w20, #0
	b	LBB0_6
LBB0_4:
	tbz	w20, #31, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh20:
	adrp	x9, l_.str.3@PAGE
Lloh21:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w19, #0
	csel	x1, x9, x8, eq
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_CONT,4,2                ; @RAMROD_CONT
	.comm	_BNX2X_VLAN,4,2                 ; @BNX2X_VLAN
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ; @BNX2X_VLAN_MAC_DEL
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to schedule ADD operations: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s VLAN failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"Set"

l_.str.3:                               ; @.str.3
	.asciz	"Del"

.subsections_via_symbols
