	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bnx2x_vlan_mac_h_read_unlock
___bnx2x_vlan_mac_h_read_unlock:        ## @__bnx2x_vlan_mac_h_read_unlock
	.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
	movl	8(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	decl	%edx
	movl	%edx, 8(%rbx)
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	cmpl	$0, 8(%rbx)
	jne	LBB0_5
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	cmpl	$0, 8(%rbx)
	jne	LBB0_5
LBB0_4:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___bnx2x_vlan_mac_h_write_unlock ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Need to release vlan mac reader lock, but lock isn't taken\n"

	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
L_.str.1:                               ## @.str.1
	.asciz	"vlan_mac_lock - decreased readers to %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"vlan_mac_lock - reader release encountered a pending request\n"

	.no_dead_strip	___bnx2x_vlan_mac_h_read_unlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bnx2x_vlan_mac_h_read_unlock
___bnx2x_vlan_mac_h_read_unlock:        ; @__bnx2x_vlan_mac_h_read_unlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_2
; %bb.1:
	sub	w8, w8, #1
	str	w8, [x19, #8]
Lloh0:
	adrp	x9, _BNX2X_MSG_SP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
Lloh7:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	___bnx2x_vlan_mac_h_write_unlock
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Need to release vlan mac reader lock, but lock isn't taken\n"

	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
l_.str.1:                               ; @.str.1
	.asciz	"vlan_mac_lock - decreased readers to %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"vlan_mac_lock - reader release encountered a pending request\n"

	.no_dead_strip	___bnx2x_vlan_mac_h_read_unlock
.subsections_via_symbols
